﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WangLuo.Pub.Account.Core.Entities
{
    public class SysApp : EntityBaseId
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称")]
        [Required, MaxLength(50)]
        public string AppName { get; set; }

        /// <summary>
        /// AppKey
        /// </summary>
        [Comment("AppKey")]
        [Required, MaxLength(50)]
        public string AppKey { get; set; }

        /// <summary>
        /// AppKey
        /// </summary>
        [Comment("AppKey")]
        [Required, MaxLength(50)]
        public string AppSecret { get; set; }

        /// <summary>
        /// AppKey
        /// </summary>
        [Comment("AppKey")]
        [Required, MaxLength(50)]
        public string AccessToken { get; set; }
    }
}
